import Backtop from './backtop.vue'
import type { ComponentPublicInstance } from 'vue'
import { withInstall } from '@/packages/utils'

withInstall(Backtop)

export type { BacktopProps } from './backtop.vue'

export type BacktopInstance = ComponentPublicInstance & InstanceType<typeof Backtop>

export { Backtop, Backtop as default }
